
    @if (@X)==(@Y) @end /* JScript comment 

    @echo off 
    setlocal
    for /f "tokens=2" %%i in ('tasklist /FI "IMAGENAME eq timeup.vbs" ^| find /I "timeup.vbs"') do set pid=%%i
    if "%pid%" == "" (
        timeup.vbs
    ) else (
        cscript //E:JScript //nologo "%~f0" "%~nx0" "%pid%"
    )
    exit %errorlevel% 
    endlocal

    @if (@X)==(@Y) @end JScript comment */ 

    var sh=new ActiveXObject("WScript.Shell"); 
    if (sh.AppActivate(WScript.Arguments.Item(1)) == 0) {
        sh.SendKeys("% r"); 
    }

exit